#ifndef _YAMLCONFIG_H
#define _YAMLCONFIG_H

#include <yaml-cpp/yaml.h>
#include "openniGraber.h"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>

class yamlHandler
{
    public:
        yamlHandler(){};
        bool _init_(std::string fileName);
        int getDeviceId(DEVICEID ID);
        YAML::Node config;
        float fps;
        float resolution[2];
        float pixelFormat;
        float width;
        float height;
};

extern yamlHandler g_camre_config;

#endif